//
//  kindViewController.h
//  MoneyLog
//
//  Created by Max on 11-5-8.
//  Copyright 2011年 wicresoft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Protocol.h"

@class KindWrapper;

@interface KindViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,UIActionSheetDelegate,UIPickerViewDelegate, UIPickerViewDataSource> {
    UITableView         *_tableView;
    NSString            *titleString;                       //界面标题
	NSMutableArray      *dataSourceArray;                   //分类信息
    KindWrapper         *kind;                              //选择类别
    
    id <MyViewDelegate> myViewDelegate;                     //代理对象
    
    UIActionSheet       *actionSheet;
	NSMutableArray      *pickerDataSource;
    
    UIPickerView        *_pickerView;
}

@property (nonatomic,retain) IBOutlet UITableView *_tableView;
@property (nonatomic,retain) NSString       *titleString;
@property (nonatomic,retain) NSMutableArray *dataSourceArray;
@property (nonatomic,retain) KindWrapper    *kind;
@property (nonatomic,retain) id<MyViewDelegate> myViewDelegate; 

@property (nonatomic,retain) UIActionSheet  *actionSheet;
@property (nonatomic,retain) NSMutableArray *pickerDataSource;
@property (nonatomic,retain) UIPickerView   *_pickerView;

-(void) reloadData:(NSMutableArray *) array;

@end
